package com.imooc.enums;

import lombok.Getter;

/**
 * 订单状态枚举
 * @Author: xukang
 * @Date: 2020/6/10 9:31
 */
@Getter
public enum  OrderStatusEnums {
    NEW(0,"新下单"),
    FINSH(1,"已完成"),
    CANCLE(2,"取消");

    private Integer code;
    private String message;

    OrderStatusEnums(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
